package com.linkai.io;

import java.util.ArrayList;
import java.util.Scanner;

/**
 * @Description: OJ在线编程常见输入输出练习
 *                https://www.nowcoder.com/test/question/93bc96f6d19f4795a4b893ee16e97654
 * @Author: 林凯
 * @Date: 2021/10/17 16:28
 */
public class T03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arrayList = new ArrayList<>();
        int a,b = -1;
        while (sc.hasNext()) {
            a = sc.nextInt();
            b = sc.nextInt();
            if (a == 0 && b == 0) {
                break;
            }
            arrayList.add(a + b);
        }
        for (int i = 0; i < arrayList.size(); i++) {
            System.out.println(arrayList.get(i));
        }
    }
}
